package com.dps.omc.task.message;

/**
 * Created by lip on 2016-01-15.
 */
public enum EnumTaskState {

    NEW("NEW","","新建","新建",false),
    READY("READY","","就绪","定时执行",false),
    LOADING("LOADING","","执行中","执行",false),
    SUCC("SUCC","","成功","执行成功",true),
    FAIL("FAIL","","失败","执行失败",true);
    private final String name;
    private final String value;
    private final String label;
    private final String note;
    private final Boolean logAble;
    private EnumTaskState(String name,String value,String label,String note,boolean logAble) {
        this.name = name;
        this.value = value;
        this.label = label;
        this.note = note;
        this.logAble = logAble;
    }

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }

    public String getNote() {
        return note;
    }

    public Boolean getLogAble() {
        return logAble;
    }
}
